﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace QueuesLib {
    [DataContract]
    public class SubjectInfo {

        [DataMember(IsRequired = true, Order = 1)]
        public Subject Subject { get; set; }

        [DataMember(IsRequired = true, Order = 2)]
        public int Count { get; set; }

        [DataMember(IsRequired = true, Order = 3)]
        public string NextTicketText { get; set; }

        [DataMember(IsRequired = true, Order = 4)]
        public string CurrentTicketText { get; set; }

        [DataMember(IsRequired = true, Order = 5)]
        public TimeSpan WaitingTime { get; set; }
    }
}
